#ifndef _WINDOW_HPP_
#define _WINDOW_HPP_

#include <string>
#include <SDL2/SDL_video.h>
#include <SDL2/SDL_render.h>
#include <SDL2/SDL_rect.h>

class Window
{
public:
    Window();
    ~Window();

    void SetPosition(int x, int y);
    void SetSize(int width, int height);
    void SetTitle(std::string title);
    void Destroy();

    bool Create(std::string title, int x, int y, int w, int h, Uint32 flags);

    SDL_Renderer *GetRenderer();

    SDL_Rect GetSize();

private:
    SDL_Window *window;
    SDL_Renderer *renderer;
};

#endif
